package com.bishe.psy.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

@Data
public class StuUser {
    private Long id;

    private String username;

    @JsonIgnore
    private String password;

    private String nickname;

    private String phoneNum;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String email;

    private String gender;

    @JsonIgnore
    private String salt;

    @JsonInclude(JsonInclude.Include.ALWAYS)
    private String avatarUrl;

    private String grade;

    private String academy;

    private String specialized;

    private String remark;

    @JsonIgnore
    private Byte deleteState;

    private Date createState;

    private Date updateState;

    public Long getId() {
        return id;
    }
}